﻿#ifndef C3FDFLOWPHYSICALCONTROL_H
#define C3FDFLOWPHYSICALCONTROL_H

#include <QWidget>
#include <QTreeWidgetItem>
#include "mainWidgetsAPI.h"

namespace Ui
{
	class C3fdFlowPhysicalControl;
}

namespace MainWidget
{
	class MAINWIDGETSAPI C3fdFlowPhysicalControl : public QWidget
	{
		Q_OBJECT

	public:
		C3fdFlowPhysicalControl(QWidget *buddies, QString type, QWidget *parent = nullptr);
		~C3fdFlowPhysicalControl();

	public slots:
		void on_lw_FlowPhysicalList_currentItemChanged(QTreeWidgetItem *current, QTreeWidgetItem *previous);

	private:
		void initContent();
		QString translateFieldName(QString);

	private:
		Ui::C3fdFlowPhysicalControl *m_Ui = nullptr;
		QWidget *m_BuddiesWidget = nullptr;
		QString m_Type = "";
	};

}
#endif // C3FDFLOWPHYSICALCONTROL_H
